package com.example.xw.common.service.fallback;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.xw.common.entity.Comment;
import com.example.xw.common.service.CommentService;
import com.example.xw.common.vo.Result;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Service;

@Service
public class FallbackCommentServiceImpl implements CommentService {

    @Override
    public Result<Comment> addComment(int wbid, String content, String userloginname) {
        return new Result(6000,null,"服务器暂时不可用，请稍后再试");
    }

    @Override
    public Result<Page<Comment>> showListByWeibo(int wbid, int pageNum, int pageSize, int state) {
        return new Result(6000,null,"服务器暂时不可用，请稍后再试");
    }

    @Override
    public Result<Page<Comment>> showListByUser(String userloginname, int pageNum, int pageSize, int state) {
        return new Result(6000,null,"服务器暂时不可用，请稍后再试");
    }

    @Override
    public Result<Integer> removeComment(int cmid) {
        return new Result(6000,null,"服务器暂时不可用，请稍后再试");
    }
}
